﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Manager.master" AutoEventWireup="true" CodeFile="forgotPassword.aspx.cs" Inherits="forgotPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <style type="text/css">
        .optcontcombell
        {
            background: url('<%= ResolveUrl("~/images/clear-combell.png")%>') no-repeat scroll left top transparent;
            width:110px;
            height:24px;
	        float:left;
	        margin-left:3px;
	        *margin-left:2px;
	        cursor:pointer;
	        line-height: 24px;
	        color: #fff;
	        font-weight:normal;
	        position: relative;
	        margin-left:260px;
        }
        .optcontcombell:hover{background: url('<%= ResolveUrl("~/images/clear-combell.png")%>') no-repeat scroll left bottom transparent;}
    </style>
    <script type="text/javascript">
        function checkNull() {
            var str = jQuery("#<%=txtUsername.ClientID %>").val();
            if (str == "") {
                jQuery("#<%=lblmsg.ClientID %>").html("Nhập tên đăng nhập");
                return false;
            }
        }
    </script>
    <div style="margin:0 auto">
        <div class="content_area1">
            <h1>Quên mật khẩu</h1>
            <asp:Panel ID="panelgetpwd" runat="server" DefaultButton="btnforgotpwd">
                <div class="login-error"><asp:Label ID="lblmsg" runat="server"></asp:Label></div>
                <div class="form-item">
                    <label for="edit-name" id="lblfullname">Tên đăng nhập/Email: </label>
                    <asp:TextBox ID="txtUsername" runat="server" CssClass="form-text required"></asp:TextBox>
                    <span class="form-required" title="This field is required.">*</span>
                </div>
                <div class="form-item" style="text-align:center; padding-top:5px;">
                    <asp:Button ID="btnforgotpwd" runat="server" Text="Lấy lại mật khẩu" 
                        CssClass="form-submit optcontcombell" OnClientClick="return checkNull();" 
                        onclick="btnforgotpwd_Click" />
                </div>
            </asp:Panel>
            <br class="clear" />
            <img src="<%= ResolveUrl("~/images/bottom.jpg")%>" align="absbottom" alt="" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

